Skip to content

build: switch to NodeNext module resolution for strict ESM enforcement - #19

Merged
frap129 merged 1 commit into
devfrom
fix/esm-imports3
May 28, 2026
Merged

build: switch to NodeNext module resolution for strict ESM enforcement#19
frap129 merged 1 commit into
devfrom
fix/esm-imports3

Conversation

@frap129

@frap129 frap129 commented May 28, 2026

Copy link
Copy Markdown
Owner

Change tsconfig from bundler to NodeNext moduleResolution. This makes TypeScript enforce .js extensions at compile time, preventing the class of ESM resolution failures described in issue #16.

The .js extension fixes were already applied in a previous commit. This change prevents future regressions by making extensionless imports a compile-time error.

Fixes #16

Change tsconfig from bundler to NodeNext moduleResolution. This makes
TypeScript enforce .js extensions at compile time, preventing the class
of ESM resolution failures described in issue #16.

The .js extension fixes were already applied in a previous commit.
This change prevents future regressions by making extensionless imports
a compile-time error.

Fixes #16
@frap129
frap129 merged commit 3537234 into dev May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant